package cn.tworice.system.dao.role.po;

import cn.tworice.mybatis.po.BasicDO;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 管理员角色
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("system_role")
@Accessors(chain = true)
public class RoleDO extends BasicDO implements Serializable {
    private static final long serialVersionUID = -4834564101863734759L;
    @TableId(type = IdType.AUTO)
    Integer id;
    String roleName;
}
